package com.operate.api.operate.dramas.dao;

import com.operate.api.app.dramas.domain.vo.AppVideoSearchVO;
import com.operate.api.app.dramas.domain.vo.AppVideoVO;
import com.operate.api.app.dramas.domain.vo.DramaCompanyVO;
import com.operate.api.operate.dramas.domain.po.VideoPO;
import com.operate.api.operate.dramas.domain.vo.VideoSearchVO;
import com.operate.api.operate.dramas.domain.vo.VideoVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface VideoDao extends Mapper<VideoPO> {
    List<VideoVO> getList(VideoSearchVO searchVO);

    List<AppVideoVO> getAppVideoList(AppVideoSearchVO searchVO);

    AppVideoVO getAppVideoOne(@Param("id") String id,@Param("userId") String userId);

    List<VideoVO> getBannerList(VideoSearchVO searchVO);
}